package com.itheima.integer;

import java.util.Arrays;

public class Test03 {
    public static void main(String[] args) {
        String s = "91 24 45 23 45 56";
        String[] s1 = s.split(" ");
        int[] s2 = new int[s1.length];

        for (int i = 0; i < s1.length; i++) {
            s2[i] = Integer.parseInt(s1[i]);
        }
        String s3 = Arrays.toString(s2);
        System.out.println(s3);
    }
}
